package com.android.systemui.statusbar.phone;

public class LightBarController {

    private OnSystemUiChangedListener mSystemUiChangedListener;

    public void setOnSystemUiChangedListener(OnSystemUiChangedListener listener) {
        mSystemUiChangedListener = listener;
    }

    public void notifySystemUiChanged(int visibility) {
        if (mSystemUiChangedListener != null) {
            mSystemUiChangedListener.onSystemUiChanged(visibility);
        }
    }

    public interface OnSystemUiChangedListener {

        void onSystemUiChanged(int visibility);
    }
}
